package ishaportalserver.apps.insight;

import ishaportalserver.shared.apps.insight.CenterProp;

import com.googlecode.objectify.annotation.Cache;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;

@Entity
@Cache 
class CenterEntity {
	@Id Long id;
	String name;
	
	CenterProp toProp() {
		CenterProp prop = new CenterProp();
		
		prop.id = id;
		prop.name = name;
		
		return prop;
	}
}
